package com.frame.bean;

public class Img {
    private Integer id;

    private Integer userId;

    private String filepath;

    private String filename;

    public Img(Integer id, Integer userId, String filepath, String filename) {
        this.id = id;
        this.userId = userId;
        this.filepath = filepath;
        this.filename = filename;
    }
    public Img(Integer userId, String filepath, String filename) {
        this.id = id;
        this.userId = userId;
        this.filepath = filepath;
        this.filename = filename;
    }

    public Img() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath == null ? null : filepath.trim();
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename == null ? null : filename.trim();
    }
}